package qc.module.platform.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import qc.module.platform.dto.log.UserLoginLogDto;
import qc.module.platform.entity.QcUserloginLogs;

import java.util.List;

/**
 * UserloginLogsMapper
 *
 * @author QuCheng Tech
 * @create 2023/1/10
 */
@Mapper
public interface UserloginLogsMapper {
    UserloginLogsMapper MAPPER = Mappers.getMapper(UserloginLogsMapper.class);

    UserLoginLogDto toDto(QcUserloginLogs en);

    List<UserLoginLogDto> toDtoList(List<QcUserloginLogs> list);
}
